package com.x86.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 风亦未止
 * @date 2022/4/14 10:57
 */
@ApiModel(value="memory")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "memory")
public class Memory implements Serializable {
    /**
     * 内存id
     */
    @TableId(value = "mem_id", type = IdType.INPUT)
    @ApiModelProperty(value="内存序列号")
    private String memId;

    /**
     * 内存型号
     */
    @TableField(value = "memConf")
    @ApiModelProperty(value="内存型号")
    private String memconf;

    /**
     * 内存压力测试
     */
    @TableField(value = "memStressCheck")
    @ApiModelProperty(value="内存压力测试")
    private String memstresscheck;

    /**
     * 接口型号
     */
    @TableField(value = "mem_interface")
    @ApiModelProperty(value="接口型号")
    private String memInterface;

    /**
     * 内存条频率
     */
    @TableField(value = "mem_hz")
    @ApiModelProperty(value="内存条频率")
    private String memHz;

    private static final long serialVersionUID = 1L;

    public static final String COL_MEM_ID = "mem_id";

    public static final String COL_MEMCONF = "memConf";

    public static final String COL_MEMSTRESSCHECK = "memStressCheck";

    public static final String COL_MEM_INTERFACE = "mem_interface";

    public static final String COL_MEM_HZ = "mem_hz";
}